<?php

/*
 * This file is part of the yuki package.
 * Copyright (c) 2011 olamedia <olamedia@gmail.com>
 *
 * This source code is release under the MIT License.
 * 
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

/**
 * yDimension
 *
 * @package yuki
 * @subpackage geometry
 * @version SVN: $Id: yDimension.php 145 2011-02-20 04:22:41Z olamedia@gmail.com $
 * @revision SVN: $Revision: 145 $
 * @date $Date: 2011-02-20 04:22:41 +0000 (Sun, 20 Feb 2011) $
 * @author olamedia
 * @license http://www.opensource.org/licenses/mit-license.php MIT
 */
class yDimension{
    protected $_width = 0;
    protected $_height = 0;
    /**
     * Sets width.
     * @param int $width
     * @return yDimension
     */
    public function setWidth($width){
        $this->_width = $width;
        return $this;
    }
    /**
     * Sets height.
     * @param int $height
     * @return yDimension
     */
    public function setHeight($height){
        $this->_height = $height;
        return $this;
    }
    /**
     * Gets width.
     * @return int
     */
    public function getWidth(){
        return $this->_width;
    }
    /**
     * Gets height.
     * @return int
     */
    public function getHeight(){
        return $this->_height;
    }
}

